package org.jeecg.modules.pbmp.assessInfo.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.pbmp.assessInfo.entity.AssessInfo;
import org.jeecg.modules.pbmp.assessInfo.mapper.AssessInfoMapper;
import org.jeecg.modules.pbmp.assessInfo.service.IAssessInfoService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 考核信息
 * @Author: jeecg-boot
 * @Date:   2021-02-03
 * @Version: V1.0
 */
@Service
public class AssessInfoServiceImpl extends ServiceImpl<AssessInfoMapper, AssessInfo> implements IAssessInfoService {

    @Override
    public Page<AssessInfo> pageAssessList(Page<AssessInfo> page, AssessInfo assessInfo) {
        List<AssessInfo> l = baseMapper.pageAssessList(page,assessInfo);
        return page.setRecords(l);
    }
}
